package com.ali.item.viewmodle;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @ClassName ItemViewModel
 * @Description TODO
 * @Author Alistair.Chow
 * @date 2018/12/14 16:21
 * @Version 1.0
 */
public class ItemViewModel {
    @JsonProperty("name")
    private String categoryName;
    @JsonProperty("type")
    private Integer categoryId;
    @JsonProperty("items")
    List<ItemInfoViewModel> itemInfoViewModelList;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public List<ItemInfoViewModel> getItemInfoViewModelList() {
        return itemInfoViewModelList;
    }

    public void setItemInfoViewModelList(List<ItemInfoViewModel> itemInfoViewModelList) {
        this.itemInfoViewModelList = itemInfoViewModelList;
    }
}
